home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Trading on the Edge
/
Trading On The Edge - CD-ROM Toolkit (Wayzata Technology)(2031)(1994).bin
/
pc
/
mac_file
/
vendor_d
/
neuralwa
/
nw2v50
/
fzartwts.igb
< prev
next >
Wrap
Text File
|
1993-08-23
|
2KB
|
91 lines
inst4.1 !Sept 11, 1992
!****************************************************************
!* *
!* Fuzzy ART Map category weights *
!* *
!****************************************************************
!
@LLsl !Load super-layer
=n0 Lpes !Number of layers
=LayN 0
! First look for last preprocessing layer
:FzA1
=n1 LayN !remember layer
+LayN 1 !next layer
?LayN n0
>bgt FzAEnd !past output layer
@LLly !load the layer
?Llrn 0 !is this a preprocessing layer?
>bne FzA2 !we are past the preprocessing layers
>br FzA1 !next layer
!Load previous layer
:FzA2
=LayN n1
@LLly
=n3 Lpes !remember #PEs
=NPEl LayN !set up as near (source) layer
!Now look for the category layer (should be the next one)
:FzA3
+LayN 1 !next layer
?LayN n0
>bgt FzAEnd !past output layer
@LLly !load the layer
?Llrn "FzART" !is this the category layer?
>bne FzA3
=n4 Lpes !remember #PEs
=SPEl LayN !set up as selected (dest) layer
! Add probe
=PNam "CatWghts" !probe name
@PbAS !Add Probe
@PbDC !Delete all components
@PALC !Layer Connections
! Now build the instrument
@ILdD !load default instrument
=ITit "Category Weights" !Instrument title
=IGTy "Hinton" !Graph Type
=IGVr "Weight" !Variable
=ITTy "RMS" !RMS Transformation Type
=ITMd 0 !No transformation
=IEpc 0 !No epoch
=Ignx n3
=Inpl n4
*Inpl n3
=Iwdt 7
*Iwdt n3
?Iwdt 140
>bgt FzA4
=Iwdt 140
:FzA4
=Ihgt 7
*Ihgt n4
?Ihgt 100
>bgt FzA5
=Ihgt 100
:FzA5
=Ivmn 0.0
=Ivmx 1.0
=ILnA 1 !Active in Learn
=IRcA 0 !Inactive in recall
=ILDv 100 !Every 100 iterations
=ILRm 0
=IRDv 0
=IRRm 0
=IPrb PNam !Point to probe
=ICAc 0 !Convergence criterion inactive
=ICTh 0.0 !Convergence Threshold
!Let NeuralWorks figure out where to put instrument
=x 0
=y 0
@IAdd !Now create instrument
:FzAEnd